#pragma once
#include "MultiMedia.h"
#include <iostream>
#include <vector>
#include "Console.h"
using namespace Course;
using namespace std;


class MultiMediaRegister
{
	
private:
	MV *p = 0;
	int quit;
	virtual void Add();
	virtual void Delete();
	virtual void Search();
	virtual void Sort();
	virtual void WriteToFile();
	virtual void ReadFromFile();
	

public:
	MultiMediaRegister(MV *pek);
	~MultiMediaRegister();

	friend ostream& operator<<(ostream& stream, MultiMediaRegister& MMR);
	friend istream& operator>>(istream& stream, MultiMediaRegister& MMR);



	int Quit() { return quit; }

};

